import { NbMenuItem } from '@nebular/theme';

export const MENU_ITEMS: NbMenuItem[] = [
  {
    title: '主页',
    icon: 'nb-home',
    link: '/admin/dashboard',
    home: true
  },
  {
    title: '操作选项',
    group: true,
  },
  {
    title: '食品信息管理',
    icon: 'nb-keypad',
    link: '/admin/food',
  },
  {
    title: '食品生产信息',
    icon: 'nb-compose',
    link: '/admin/produce-find'
  },
  {
    title: '食品工厂信息',
    icon: 'nb-title',
    link: '/admin/manufacture'
  },
  {
    title: '食品商管理',
    icon: 'nb-tables',
    link: '/admin/company'
  },
  {
    title: '用户反馈',
    icon: 'nb-help',
    link: '/admin/question'
  },
  {
    title: '区块链',
    icon: 'nb-gear',
    children: [
      {
        title: '节点状态查询',
        link: '/admin/peer/search',
      },
      {
        title: '添加节点至网络',
        link: '/admin/peer/add',
      },
    ],
  },

];
